using System;
using System.Collections;
using System.Web;

namespace Sedna.Core.Controller.Common
{
	public class NameValueActionParam : IActionParam
	{
		private string name;
		private string value;

		public NameValueActionParam()
		{
		}

		public NameValueActionParam(string name, string value)
		{
			this.name = name;
			this.value = value;
		}

		public string Name
		{
			get { return name; }
			set { name = value; }
		}

		public string Value
		{
			get { return this.value; }
			set { this.value = value; }
		}

		public virtual string GetValue(IExecutionContext executionContext)
		{
			return this.value;
		}
	}
}
